from Broswer import *
import unittest

class TestBaidu2(unittest.TestCase):

    def test_search_key_python(self):
        serach_key = "python"
        baidu_search(serach_key)
        self.assertEqual(Browser.driver.title,serach_key+ "_百度搜索")
